<%@page import="com.wef.demo.entity.domain.StudentSubjectDomain"%>
<%@page import="com.wef.demo.entity.domain.StudentDomain"%>
<%@page import="com.wef.demo.entity.domain.ClazzDomain"%>
<%@page import="com.gfa4j.resource.ResourceManagerServer"%>
<%@page import="com.wef.common.util.CommonMessageDomain"%>
<%@page import="com.gfa4j.query.Field"%>
<%@ include file="/pages/common/taglib.jsp"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
		<title></title>
		<%@include file="/styles/css_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/css_lib.jsp"%>
		<%@include file="/scripts/widgets/jqgrid/css_lib.jsp"%>
		<%@include file="/scripts/widgets/autoSelect/css_lib.jsp"%>
		
		<%@include file="/pages/common/js_global.jsp"%>
		<%@include file="/scripts/sdk/js_lib.jsp"%>
		<%@include file="/scripts/config/js_lib.jsp" %>
		<%@include file="/scripts/utils/js_lib.jsp"%>
		<%@include file="/scripts/i18n/js_lib.jsp"%>
		<%@include file="/scripts/format/js_lib.jsp"%>
		<%@include file="/scripts/validate/js_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/js_lib.jsp"%>
		<%@include file="/scripts/widgets/jqgrid/js_lib.jsp"%>
		<%@include file="/scripts/widgets/autoSelect/js_lib.jsp"%>
		<%@include file="/scripts/widgets/datePicker/js_lib.jsp"%>
		<%@include file="/scripts/widgets/page-custom/js_lib.jsp"%>
		<k:customSaveConfig
			editFormName="editFormStudent"
			saveBtnId="saveBtnStudent"
			objectName="<%=StudentDomain.Student%>"
			serviceMethodName="saveOrUpdateStudent"
			serviceName="StudentService"
		/>
		
		<script type="text/javascript">
			//App.pageCustomEnable = true;App.pageId = "jqgrid";
			$(window).ready(function(){
				$('div[accordion=true]').accordion({collapsible : true});
				$('div[tabGroup=true]').tabs();
				$('#pageLoadComplete').attr('isComplete',true);
			});
		</script>
	</head>
<body class="body">
	<div id="divAccordion1" accordion="true">
		<h1><a href="#"><%=ResourceManagerServer.getInstance().getMessage(StudentDomain.StudentNLS)%>&nbsp;<%=ResourceManagerServer.getInstance().getMessage(CommonMessageDomain.TITLE_EDIT)%></a></h1>
		<div>
			<form id="editFormStudent" name="editFormStudent">
				<ul id="editUlStudent" allowChange="true" class="edit_box">
					<k:hidden property="studentId" styleId="editStudentId" value='<%=request.getParameter("studentId")%>'/>
					<li>
						<k:label text="demo.Student.studentName"/>
						<k:text property="studentName" styleClass="text" styleId="editStudentName" validateRules="{required:true}"/>
					</li>
					<li>
						<k:label text="demo.Student.gender" />
						<k:select property="gender" styleId="editGender">
							<k:option value="true" text="男" />
							<k:option value="false" text="女" />
						</k:select>
					</li>
				</ul>
			</form>
		</div>
	</div>
	
	<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
		<ul class="button_box">
			<li>
				<k:button styleId="saveBtnStudent" styleClass="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" text="<%=CommonMessageDomain.BUTTON_SAVE%>"/>
			</li>
		</ul>
	</div>
	
	<div id="tabs" tabGroup="true">
		<ul>
			<li><a id="aTabItem1" href="#tabItem1"><%=ResourceManagerServer.getInstance().getMessage(StudentDomain.StudentNLS)%>&nbsp;<%=ResourceManagerServer.getInstance().getMessage(CommonMessageDomain.TITLE_EDIT)%></a></li>
		</ul>
		
		<div id="tabItem1">
			<div id="divAccordion2" accordion="true">
				<h1><a href="#"><%=ResourceManagerServer.getInstance().getMessage(StudentDomain.StudentNLS)%>&nbsp;<%=ResourceManagerServer.getInstance().getMessage(CommonMessageDomain.TITLE_EDIT)%></a></h1>
				<div>
					<form id="editFormStudent2" name="editFormStudent">
						<ul id="editUlStudent" allowChange="true" class="edit_box">
							<li>
								<k:label text="demo.Student.studentNum"/>
								<k:text property="studentNum" styleClass="text" styleId="editStudentNum"/>
							</li>
						</ul>
					</form>
				</div>
			</div>	
		</div>
		
	</div>
	<div id="pageLoadComplete" isComplete="false" style="display: none;"></div>
</body>
</html>